# -*- coding: utf-8 -*-
# @Time    : 2024/1/4 21:33
# @Author  : micah
# @File    : 14.请求超时.py
# @Software: PyCharm

import requests

url = 'http://google.com'
response = requests.get(url, timeout=3)
print(response)
